class CoursePost
  include DataMapper::Resource
  storage_names[:default] = "CoursePost"
  
  property :id,        Serial
  property :course_id, Integer
  property :post_id,   Integer
  timestamps :at

  belongs_to :course
  belongs_to :post
end
